const router = require('koa-router')()
const controller = require('../controller/login')

router
    .get('/login', controller.getLogin)//渲染注册页面
    .post('/login', controller.postLogin)//登录api
    

module.exports = router